#include <iostream>
#include <ctime>
#include <cstdlib>

int const maxn = 100;
bool map[maxn][maxn];

int main()
{
	std::srand(std::time(0));
	int n = 11;
	std::cout << n << ' ' << 10 << '\n';
	for (int i = 0; i < n-1; i++)
		std::cout << 1 << ' ' << i+2 << '\n';
}

